home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VB / MSAGENT / INSTALL / LISET.EXE / lstinst.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1997-08-14  |  4.7 KB  |  163 lines

  1. ;inf for the microsoft LISET tool
  2. ;6/06/97  02:00  created by eric moore (a-emoore)
  3. ;6/11/97  changed name to include 'Information'
  4. ;6/19/97  removed IE 3.0 check
  5. ;7/22/97  new naming convention applied
  6.  
  7. [Version]
  8. Signature="$Chicago$"
  9. AdvancedINF=2.5,%ADVPKPRMPT%
  10.  
  11. [SourceDisksNames]
  12. 1=%AppName%,,1
  13.  
  14. [DestinationDirs]
  15. AppFiles=49009
  16. RemoveFiles=49009
  17. SysFiles=11
  18. InfFiles=17
  19. HelpFiles=18
  20.  
  21. ;we have two install sections due to quotes for AddLinkNT
  22. ;but get away with one uninstall section
  23.  
  24. [DefaultInstall]
  25. CheckAdminRights=1
  26. RunPreSetupCommands = RunPreSetupCmds
  27. Copyfiles=AppFiles, InfFiles, HelpFiles
  28. AddReg=AppReg
  29. CustomDestination=CustomDirsSection
  30. UpdateInis=AddLink
  31. RunPostSetupCommands = RunPostSetupCmds
  32.  
  33. [DefaultInstall.NT]
  34. CheckAdminRights=1
  35. RunPreSetupCommands = RunPreSetupCmds
  36. Copyfiles=AppFiles, InfFiles, HelpFiles
  37. AddReg=AppReg
  38. CustomDestination=CustomDirsSection
  39. UpdateInis=AddLinkNT
  40. RunPostSetupCommands = RunPostSetupCmds
  41.  
  42. [CustomDirsSection]
  43. ;49000 = CustomLDID49000,18   ;check for IE3.X
  44. 49001,49002,49003,49004 = CustomLDID49001,5    ;progam files dir
  45. 49005,49006,49007,49008 = CustomLDID49005,5    ;Dir we already had...
  46. 49009,49010,49011,49012 = CustomLDID49009,1    ;Dir we append 'tools' to...
  47.  
  48. [CustomLDID49000]
  49. "HKLM","SOFTWARE\Microsoft\Internet Explorer","Build",%IEPRMPT%,
  50.  
  51. [CustomLDID49001]
  52. "HKLM","SOFTWARE\Microsoft\Windows\CurrentVersion","ProgramFilesDir",,%24%\%PROGRAMF%
  53.  
  54. [CustomLDID49005]
  55. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir",,
  56. HKLM,"SOFTWARE\Microsoft\Agent","InstallDir",,
  57. ,,,,%49002%\%MSAGENT%\
  58.  
  59. [CustomLDID49009]
  60. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","ACEDir",%INSTPRMPT%,%49006%\%TOOLSDIR%
  61. ;,,,%INSTPRMPT%,%49006%\%TOOLSDIR%
  62.  
  63. [RunPreSetupCmds]
  64. lstinst.exe
  65. actcnc.exe
  66.  
  67. [AddLinkNT]
  68. setup.ini, progman.groups,, "LISET="
  69. setup.ini, LISET,, """%AppName%"", """"""%49011%\liset.exe"""""""
  70.  
  71. [AddLink]
  72. setup.ini, progman.groups,, "LISET="
  73. setup.ini, LISET,, """%AppName%"", ""%49011%\liset.exe"""
  74.  
  75. [RunPostSetupCmds]
  76. %49011%\liset.exe /register
  77.  
  78. [Uninstall]
  79. CheckAdminRights=1
  80. BeginPrompt=BeginPromptSection
  81. EndPrompt=EndPromptSection
  82. ;RunPreSetupCommands=RunPreRemove  ;;;do this by hand... duhoo!
  83. CustomDestination=UninstallDestination
  84. DelFiles=AppFiles, RemoveFiles, HelpFiles
  85. Deldirs=RemoveFolder
  86. DelReg=DelRegSection
  87. UpdateInis=RemoveLink
  88. Cleanup=1
  89.  
  90. [RunPreRemove]
  91. %49011%\liset.exe /unregister
  92.  
  93. [UninstallDestination]
  94. 49009,49010,49011,49012 = CustomLDIDR49011,5
  95.  
  96. [RemoveLink]
  97. setup.ini, progman.groups,, "LISET="
  98. setup.ini, LISET,, """%AppName%"""
  99.  
  100. ;this is used to remove the tool directory
  101. [CustomLDIDR49011]
  102. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","LISETDir",,
  103.  
  104. [RemoveFolder]
  105. %49011%
  106.  
  107. [AppFiles]
  108. liset.exe
  109. brwnnse.wav
  110.  
  111. [RemoveFiles]
  112. BROWNN~1.WAV
  113.  
  114. [InfFiles]
  115. lstinst.inf
  116.  
  117. [HelpFiles]
  118. liset.hlp
  119. liset.cnt
  120.  
  121. [AppReg]
  122. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","LISETDir",,%49010%
  123. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentLisetEd,"DisplayName",,%AppName%
  124. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentLisetEd,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\lstinst.inf, Uninstall"
  125. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Liset,,,%49011%
  126. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Liset,"brwnnse.wav",,"brownnoise.wav"
  127.  
  128. [DelRegSection]
  129. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","LISETDir"
  130. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentLisetEd
  131.  
  132. [BeginPromptSection]
  133. Prompt=%BeginPrompt%
  134. ButtonType=YESNO
  135. Title=%AppName%
  136.  
  137. [EndPromptSection]
  138. Prompt=%EndPrompt%
  139.  
  140. [SourceDisksNames] 
  141. 1 = %MSAGENT%,agent,0
  142.  
  143. [SourceDisksFiles] 
  144. liset.exe = 1
  145. brwnnse.wav = 1
  146. lstinst.inf = 1
  147. liset.hlp = 1
  148. liset.cnt = 1
  149.  
  150. [Strings]
  151. AppName = "Microsoft Linguistic Information Sound Editing Tool"
  152. ADVPKPRMPT = "The correct version of Advpack.dll was not found, installation halted."
  153. IEPRMPT = "You need to have Microsoft Internet Explorer version 3.0 or later, installation halted."
  154. INSTPRMPT = "Where would you like to install the Microsoft Linguistic Information Sound Editing Tool?"
  155. BeginPrompt = "Are you sure you want to remove the Microsoft Linguistic Information Sound Editing Tool?"
  156. EndPrompt = "The Microsoft Linguistic Information Sound Editing Tool was successfully removed."
  157. AskInstall = "Where would you like to install the Microsoft Linguistic Information Sound Editing Tool and future Microsoft Agent components?"
  158. TellInstall = "Setup has detected Microsoft Agent components in the directory below. It is strongly recommended that you not change this path."
  159. PROGRAMF="Program Files"
  160. TOOLSDIR="Tools"
  161. MSAGENT="Microsoft Agent"
  162. EXENAME="liset.exe"
  163.